package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserPassword;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class UserPasswordBussiness {

	public static UserPassword getUserPassWord(long userId) {
		return DaoHelper.getUserPasswordDaoImpl().getUserPassword(userId);
	}

	public static boolean addUserPassword(UserPassword data) {
		return DaoHelper.getUserPasswordDaoImpl().add(data);
	}

	public static boolean updateUserPassword(UserPassword data) {
		return DaoHelper.getUserPasswordDaoImpl().update(data);
	}
}
